import React,{useEffect} from 'react';
import {useLocation } from 'react-router-dom'

function Index() {

    let location = useLocation();
    
    useEffect(()=>{
        console.log(location);
    },[location])

    return (
      <div className="Index">
        <p className="Index-title">集成了多个音乐平台,找音乐就如此简单</p>
        
      </div>
    );
  }

  export default Index;